package cn.ming.application.service;

/**
 * @author zhuming
 * @version 1.0.0
 * @description 推送消息接口
 * @since 2022-10-23 10:38
 */
public interface PushService {
    /**
     * 推送给指定用户
     */
    void pushMsgToOne(String userId, String msg);

    /**
     * 推送给所有用户
     */
    void pushMsgToAll(String msg);
}
